package com.tpu.osu.rating.dao;

import java.util.List;

import com.tpu.osu.rating.Vote;

public interface VoteDAO
{

    public void insert(Vote aVote) throws Exception;

    public void update(Vote aVote) throws Exception;

    public void delete(String aPIN) throws Exception;

    public Vote selectByPIN(String aPIN) throws Exception;

    public List<Vote> selectByLector(String aLector) throws Exception;

    public List<Vote> selectByGroup(String aGroup) throws Exception;

    public List<Vote> selectByLectorAndGroup(String aLector, String aGroup) throws Exception;

    public List<Vote> enumerate() throws Exception;

}
